home *** CD-ROM | disk | FTP | other *** search
- page 60,132
- name pinit
- title PINIT.ASM - Printer initialization routine
-
- ;*************************************************************************
- ; Syntax:
- ; call pinit - does hardware initialization of printer
- ;*************************************************************************
-
- data segment word public 'data'
- data ends
-
- dgroup group data
-
- code segment byte public 'code'
- assume cs:code, ds:dgroup
-
- public pinit
-
- pinit proc far ;hardware reset the printer
- mov dx,0
- mov ah,1
- int 17h
- ret
- pinit endp
-
- code ends
- end
-